//
//  CWMap.h
//  CWDevelop
//
//  Created by LittoCats on 7/22/14.
//  Copyright (c) 2014 Littocats. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CWLocation.h"

@interface CWMap : NSObject

+ (void)updateUserLocationWithHandler:(void (^)(NSDictionary *userLocationInfo))handler options:(CWCoordinateOptions)options;

/**
 *  计算location到用户坐标的距离
 *  location为坐标array时，则返回结果也为array
 */
+ (void)distanceFromUserLocationTo:(id)location handler:(void (^)(id distance))handler;

/**
 *  返回为 NSNumber / NSArray
 */
+ (id)distanceFrom:(id)from to:(id)to;
@end
